package com.hpf.community.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ${table.comment}实体类  与数据库一一对应,请勿轻易修改
 * </p>
 *
 * @author huangpengfei
 * @version 2020年04月04日---22:57:14
 * @description
 */
@Data
public class Activity extends Model<Activity> {

    private static final long serialVersionUID = 1L;

    public static final String ID = "ID";

    public static final String TITLE = "TITLE";

    public static final String DESCRIPTION = "DESCRIPTION";

    public static final String EXPENSE = "EXPENSE";

    public static final String PLACE = "PLACE";

    public static final String SUPPLIES = "SUPPLIES";

    public static final String START_TIME = "START_TIME";

    public static final String END_TIME = "END_TIME";

    public static final String COM_ID = "COM_ID";

    public static final String COM_NAME = "COM_NAME";

    public static final String PUB_ID = "PUB_ID";

    public static final String PUB_NAME = "PUB_NAME";

    public static final String STATUS = "STATUS";

    public static final String CREATE_DATETIME = "CREATE_DATETIME";

    public static final String CREATE_USERID = "CREATE_USERID";

    public static final String MODIFY_USERID = "MODIFY_USERID";

    public static final String MODIFY_DATETIME = "MODIFY_DATETIME";

    public static final String IS_DELETE = "IS_DELETE";


    @TableId("ID")
    private String id;

    @TableField("REJECT_REASON")
    private String rejectReason;

    @TableField("TITLE")
    private String title;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("EXPENSE")
    private Double expense;

    @TableField("PLACE")
    private String place;

    @TableField("SUPPLIES")
    private String supplies;

    @TableField("START_TIME")
    private Date startTime;

    @TableField("END_TIME")
    private Date endTime;

    @TableField("COM_ID")
    private String comId;

    @TableField("IS_DELETE")
    private String isDelete;

    @TableField("COM_NAME")
    private String comName;

    @TableField("PUB_ID")
    private String pubId;

    @TableField("PUB_NAME")
    private String pubName;

    @TableField("STATUS")
    private String status;

    @TableField("CREATE_DATETIME")
    private Date createDatetime;

    @TableField("CREATE_USERID")
    private String createUserid;

    @TableField("MODIFY_USERID")
    private String modifyUserid;

    @TableField("MODIFY_DATETIME")
    private Date modifyDatetime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }


}
